#ifndef MYBUTTON_H
#define MYBUTTON_H

#include <QPushButton>
#include <QObject>
#include <QWidget>
#include <QTimer>

#include "tool.h"

class MyButton : public QPushButton
{
    Q_OBJECT
public:
    MyButton(QWidget *parent = nullptr);
    ~MyButton();

    QTimer *delayTimer;

    bool curChecked(void);

private slots:
    void updateDelayTimer(void);

};

#endif // MYBUTTON_H
